#include<stdio.h>
#include<assert.h>
char* my_strcpy(char*dest,const char *src)
{
    assert(dest!=NULL);    
    assert(src!=NULL);
    char* ret=dest;
    while((*dest++ = *src++))
       {
        ;
        }
    return ret;
}

int main()
{
    char arr1[]="abcdef";
    char arr2[20]={0};
    my_strcpy(arr2,arr1);
    printf("arr2=%s\n",arr2);
    return 0;
}